package com.vcourse.cloud.oss.api.feign.fallback;

import com.vcourse.cloud.oss.api.feign.OssService;
import com.vcourse.commons.result.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Zengsh123
 * @date 2020-06-01 18:29
 * OSS服务降级方法
 */
@Service
@Slf4j
public class OssServiceFallBack implements OssService {
    @Override
    public R deleteFiles(List<String> files) {
        log.error("OSS服务降级");
        return R.error();
    }
}
